package com.fis.vaadin;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Vector;

import com.vaadin.ui.Field;

public class VaadinFormData {

	private HashMap<String, Field> mapFieldData;
	private List<String> listPropertyUnique;
	@SuppressWarnings("rawtypes")
	private LinkedHashMap mapFieldDefinition;
	@SuppressWarnings("rawtypes")
	private LinkedHashMap mapContronDefinition;
	@SuppressWarnings("rawtypes")
	private LinkedHashMap mapLayoutDefinition;

	@SuppressWarnings("rawtypes")
	private Vector vtFieldList;
	@SuppressWarnings("rawtypes")
	private Vector vtControlList;
	@SuppressWarnings("rawtypes")
	private Vector vtLayoutList;

	@SuppressWarnings("rawtypes")
	private LinkedHashMap mapFieldList;
	@SuppressWarnings("rawtypes")
	private LinkedHashMap mapControlList;
	@SuppressWarnings("rawtypes")
	private LinkedHashMap mapLayoutList;

	@SuppressWarnings("rawtypes")
	public LinkedHashMap getMapFieldDefinition() {
		return mapFieldDefinition;
	}

	@SuppressWarnings("rawtypes")
	public LinkedHashMap getMapContronDefinition() {
		return mapContronDefinition;
	}

	@SuppressWarnings("rawtypes")
	public LinkedHashMap getMapLayoutDefinition() {
		return mapLayoutDefinition;
	}

	@SuppressWarnings("rawtypes")
	public Vector getVtFieldList() {
		return vtFieldList;
	}

	@SuppressWarnings("rawtypes")
	public Vector getVtControlList() {
		return vtControlList;
	}

	@SuppressWarnings("rawtypes")
	public Vector getVtLayoutList() {
		return vtLayoutList;
	}

	@SuppressWarnings("rawtypes")
	public LinkedHashMap getMapFieldList() {
		return mapFieldList;
	}

	@SuppressWarnings("rawtypes")
	public LinkedHashMap getMapControlList() {
		return mapControlList;
	}

	@SuppressWarnings("rawtypes")
	public LinkedHashMap getMapLayoutList() {
		return mapLayoutList;
	}
	public HashMap<String, Field> getMapFieldData() {
		return mapFieldData;
	}

	public void setMapFieldData(HashMap<String, Field> mapFieldData) {
		this.mapFieldData = mapFieldData;
	}
	
	public List<String> getListPropertyUnique() {
		return listPropertyUnique;
	}

	public void setListPropertyUnique(List<String> listPropertyUnique) {
		this.listPropertyUnique = listPropertyUnique;
	}

	public void backupFormData() {
	}

	public void restoreFormData() {
	}

	public void clearBackupFormData() {
	}

	@SuppressWarnings("rawtypes")
	public VaadinFormData() {
		mapContronDefinition = new LinkedHashMap();
		mapControlList = new LinkedHashMap();
		mapFieldDefinition = new LinkedHashMap();
		mapFieldList = new LinkedHashMap();
		mapLayoutDefinition = new LinkedHashMap();
		mapLayoutList = new LinkedHashMap();
		mapFieldData = new HashMap<String, Field>();
		vtControlList = new Vector();
		vtFieldList = new Vector();
		vtLayoutList = new Vector();
		listPropertyUnique = new ArrayList<String>();
	}



}
